package com.kemai.designmode.entry.fruit

import com.kemai.common.utils.AppUtils
import com.kemai.designmode.entry.Fruit
import com.kemai.designmode.visit.Visit

/**

 *@description:桔子实体类
 * @author: zhaoshanshan
 * @date: 2022/10/3 8:17 上午

 */
class Orange: Fruit {
    var price = 80.0
    override fun price(): Double {
        return price
    }

    override fun draw() {
        AppUtils.getInstance()?.showToast("我是赣州桔")
    }
    override fun acpept(visit: Visit) {
        visit.sell(this)
    }
}